import request from '@/utils/request'

export default {
    reqTrandmarkList (page, limit){
        return request.get(`/admin/product/baseTrademark/${page}/${limit}`)
    },
    reqEditTrandmark (tmInfo){
        if (tmInfo.id) {
            return request.put('/admin/product/baseTrademark/update', tmInfo)
        } else {
            return request.post('/admin/product/baseTrademark/save', tmInfo)
        }
    },
    reqDelTrandmark (id){
        return request.delete(`/admin/product/baseTrademark/remove/${id}`)
    }
}